/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.core.domain.auth;

import info.peigen.hotpot.business.customer.facade.enums.auth.CustomerCertStatus;
import info.peigen.hotpot.business.customer.facade.enums.auth.CustomerCertSubject;
import info.peigen.hotpot.common.core.domain.DomainObject;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * <b>(CustomerAuthenticationRecord)</b>
 * 认证记录
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CustomerAuthenticationLog extends DomainObject {
    String                     gid;
    String                     customerId;
    /** 认证类型 */
    CustomerCertSubject        customerCertSubject;
    /** 认证信息 */
    CustomerAuthenticationBase enterpriseInfo;
    /** 认证前状态 */
    CustomerCertStatus         preStatus;
    /** 认证后状态 */
    CustomerCertStatus         postStatus;
    /** BOPS操作员Id */
    String                     bopsOperatorId;
    /** BOPS操作员名字 */
    String                     bopsOperatorName;
    /** 认证时间 */
    Date                       bopsAuditTime;
    String                     memo;
}
